package com.zzy.mccjt.service.service.impl;

import com.zzy.mccjt.service.dao.SystemMenuMapper;
import com.zzy.mccjt.service.dao.UserMapper;
import com.zzy.mccjt.service.service.SystemMenuService;
import com.zzy.pojo.system.login.resp.SystemMenuRespDTO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * description:
 *
 * @author zzy
 * @version 1.0
 * @date 2020/4/30
 */
@Service
@Slf4j
public class SystemMenuServiceImpl implements SystemMenuService {
    @Autowired
    private SystemMenuMapper systemMenuMapper;


    @Override
    public List<SystemMenuRespDTO> selectSystemMenufoByRoleId(List<Long> roleId) {
        return systemMenuMapper.selectSystemMenufoByRoleId(roleId);
    }
}
